Windows still FTBFS
authoryarikoptic <yarikoptic@web>
Tue, 23 Sep 2025 14:24:30 +0000 (14:24 +0000)
committeradmin <admin@branchable.com>
Tue, 23 Sep 2025 14:24:30 +0000 (14:24 +0000)
doc/bugs/still_FTBFS_on_Windows__58___more_advice_needed.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/still_FTBFS_on_Windows__58___more_advice_needed.mdwn b/doc/bugs/still_FTBFS_on_Windows__58___more_advice_needed.mdwn
new file mode 100644 (file)
index 0000000..fe4d0b1
--- /dev/null
@@ -0,0 +1,60 @@
+### Please describe the problem.
+
+Continuation to https://git-annex.branchable.com/bugs/windows_FTBFS__44___advise_needed/ which was marked fixed but now FTBFS with 
+
+```
+[38 of 40] Compiling Utility.CopyFile ( Utility\CopyFile.hs, Utility\CopyFile.o )
+Utility\CopyFile.hs:9:1: warning: [GHC-94817] [-Wtabs]
+Warning:     Tab character found here, and in 84 further locations.
+    Suggested fix: Please use spaces instead.
+  |
+9 |         copyFileExternal,
+
+  | ^^^^^^^^
+
+[39 of 40] Compiling Main             ( Build\NullSoftInstaller.hs, Build\NullSoftInstaller.o )
+Build\NullSoftInstaller.hs:64:34: error: [GHC-83865]
+Error:     • Couldn't match type ‘bytestring-0.12.2.0:Data.ByteString.Internal.Type.ByteString’
+                     with ‘[Char]’
+      Expected: FilePath
+        Actual: System.FilePath.Windows.ByteString.RawFilePath
+    • In the second argument of ‘makeInstaller’, namely ‘gitannexcmd’
+      In the second argument of ‘($)’, namely
+        ‘makeInstaller
+           gitannex gitannexcmd license htmlhelp (winPrograms ++ magicDLLs')
+           magicShare' [webappscript, autostartscript]’
+      In a stmt of a 'do' block:
+        F.writeFileString (toOsPath nsifile)
+          $ makeInstaller
+              gitannex gitannexcmd license htmlhelp (winPrograms ++ magicDLLs')
+              magicShare' [webappscript, autostartscript]
+   |
+64 |                         gitannex gitannexcmd license htmlhelp (winPrograms ++ magicDLLs') magicShare'
+
+   |                                  ^^^^^^^^^^^
+
+Build\NullSoftInstaller.hs:64:54: error: [GHC-83865]
+Error:     • Couldn't match type ‘bytestring-0.12.2.0:Data.ByteString.Internal.Type.ByteString’
+                     with ‘[Char]’
+      Expected: FilePath
+        Actual: System.FilePath.Windows.ByteString.RawFilePath
+    • In the fourth argument of ‘makeInstaller’, namely ‘htmlhelp’
+      In the second argument of ‘($)’, namely
+        ‘makeInstaller
+           gitannex gitannexcmd license htmlhelp (winPrograms ++ magicDLLs')
+           magicShare' [webappscript, autostartscript]’
+      In a stmt of a 'do' block:
+        F.writeFileString (toOsPath nsifile)
+          $ makeInstaller
+              gitannex gitannexcmd license htmlhelp (winPrograms ++ magicDLLs')
+              magicShare' [webappscript, autostartscript]
+   |
+64 |                         gitannex gitannexcmd license htmlhelp (winPrograms ++ magicDLLs') magicShare'
+
+   |                                                      ^^^^^^^^
+
+Error: Process completed with exit code 1.
+```
+
+e.g. [here](https://github.com/datalad/git-annex/actions/runs/17903960530/job/50901925018)
+